package com.action.basic;

import java.util.List;

import com.opensymphony.xwork2.ActionSupport;
import com.pojo.basic.MyJobMenu;
import com.service.basic.IMyJobMenuService;

public class MyJobMenuAction  extends ActionSupport{
	
	private static final long serialVersionUID = 1L;
	private IMyJobMenuService myJobMenuService;
	private List<MyJobMenu> list = null;
	
	public void setMyJobMenuService(IMyJobMenuService myJobMenuService) {
		this.myJobMenuService = myJobMenuService;
	}
	
	public List<MyJobMenu> getList() {
		return list;
	}

	public void setList(List<MyJobMenu> list) {
		this.list = list;
	}

	public String findAllMyJobMenu(){
		list  = myJobMenuService.findAllMyJobMenu();
		return SUCCESS;
	}
}
